package org.csu.measure.domain;

import lombok.Data;

@Data
public class LKMetrics {

    /** function name  方法名*/
    private String name;
    /** number of operation     属性总数量*/
    private double operation;
    /** number of attribute     方法总数量*/
    private double attribute;
    /** number of overridden    方法重写数*/
    private double NOO;
    /** number of add           增加方法数量*/
    private double NOA;
    /** specialization index    特征化指数*/
    private double SI;
    /** class size    类规模*/
    private double CS;

    public LKMetrics(double operation, double attribute, double nOO, double nOA,double sI,double CS) {
        super();
        this.operation = operation;
        this.attribute = attribute;
        NOO = nOO;
        NOA = nOA;
        SI = sI;
        this.CS = CS;
    }

    public LKMetrics() {
        super();
        // TODO Auto-generated constructor stub
    }

    public double getOperation() {
        return operation;
    }

    public void setOperation(double operation) {
        this.operation = operation;
    }

    public double getAttribute() {
        return attribute;
    }

    public void setAttribute(double attribute) {
        this.attribute = attribute;
    }

    public double getNOO() {
        return NOO;
    }

    public void setNOO(double NOO) {
        this.NOO = NOO;
    }

    public double getNOA() {
        return NOA;
    }

    public void setNOA(double NOA) {
        this.NOA = NOA;
    }

    public double getSI() {
        return SI;
    }

    public void setSI(double SI) {
        this.SI = SI;
    }

    public double getCS() {
        return CS;
    }

    public void setCS(double CS) {
        this.CS = CS;
    }
}
